﻿using System;
using System.Collections.Generic;
using System.Text;

namespace gTray
{
    public class FeedEntry : IEquatable<FeedEntry>
    {
        #region Local Variables and Properties
        public string Title { get; set; }
        public string Summary { get; set; }
        public Uri Link { get; set; }
        public DateTime Modified { get; set; }
        public DateTime Issued { get; set; }
        public string ID { get; set; }
        public string AuthorName { get; set; }
        public string AuthorEmail { get; set; }
        #endregion

        public bool Equals(FeedEntry entry)
        {
            return (entry.Title == this.Title) && (entry.ID == this.ID) &&(entry.Issued == this.Issued);
        }
    }
}
